package com.ruoyi.merchant.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ims_finance
 * 
 * @author ruoyi
 * @date 2024-09-07
 */
public class ImsFinance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderId;

    /** 订单类型（1:虚拟订单，2:平台订单） */
    @Excel(name = "订单类型", readConverterExp = "1=:虚拟订单，2:平台订单")
    private Integer orderType;

    /** 租车类型（1:租车，2:包车；） */
    @Excel(name = "租车类型", readConverterExp = "1=:租车，2:包车；")
    private Integer carType;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 组织架构id */
    @Excel(name = "组织架构id")
    private Long deptId;

    /** 结算类型（1:报销，2:提成，3:收入） */
    @Excel(name = "结算类型", readConverterExp = "1=:报销，2:提成，3:收入")
    private Integer settleType;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 财务类型(1:公司，2：个人) */
    @Excel(name = "财务类型(1:公司，2：个人)")
    private Integer financeType;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 原因 */
    @Excel(name = "原因")
    private String reason;

    /** 数量 */
    @Excel(name = "数量")
    private Long value;

    /** 描述 */
    @Excel(name = "描述")
    private String name;

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderType(Integer orderType)
    {
        this.orderType = orderType;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderType()
    {
        return orderType;
    }
    public void setCarType(Integer carType) 
    {
        this.carType = carType;
    }

    public Integer getCarType() 
    {
        return carType;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setSettleType(Integer settleType) 
    {
        this.settleType = settleType;
    }

    public Integer getSettleType() 
    {
        return settleType;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setFinanceType(Integer financeType) 
    {
        this.financeType = financeType;
    }

    public Integer getFinanceType() 
    {
        return financeType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderType", getOrderType())
            .append("carType", getCarType())
            .append("amount", getAmount())
            .append("deptId", getDeptId())
            .append("settleType", getSettleType())
            .append("uid", getUid())
            .append("financeType", getFinanceType())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("reason", getReason())
            .toString();
    }
}
